﻿using FangPage.Core;
using FangPage.User.Model;
using System;
using System.Collections.Generic;
using System.Text;

namespace FangPage.User
{
    /// <summary>
    /// 用户登录控制器
    /// </summary>
    public class UserController:FPController
    {
        protected AuthInfo authinfo;

        public override void Init()
        {
            authinfo = FPUser.Authorize();

            if (!authinfo.islogin)
            {
                FPResponse.ShowErr("对不起，您尚未登录或登录超时！",110, isview);
                return;
            }
        }
    }
}
